#include <iostream>
using namespace std;
template <class T>
T add(T t1,T t2){
    cout<<" Template"<<endl;
    return t1 + t2;
}
void test(){
   double d1 = 10,d2 = 20;
   short s1 = 1, s2 = 3;
   cout<<add(d1,d2)<<endl;
   cout<<add(s1,s2)<<endl;
}
void test2(){
    short s1 = 3;
    int i1 = 10;
    cout<<add<int>(s1,i1)<<endl;
}
int main()
{
    test2();
    return 0;
}

